<h1><?php __('Add a new user'); ?></h1>

<div class="box">

    <?php
    echo $form->create('AgencyUser', array('url' => $currentUrl));
    ?>

        <h2>General information</h2>

        <?php
        echo $form->input('username', array(
            'size' => 40
        ));
        ?>

        <?php
        echo $form->input('name', array(
            'size' => 50
        ));
        ?>

        <?php
        echo $form->input('email', array(
            'size' => 50
        ));
        ?>

        <?php
        echo $form->input('can_log_in', array(
            'label' => __('This user can log in', true)
        ));
        ?>

        <h2 class="inner">Password</h2>

        <?php
        echo $form->input('new_password', array(
            'label' => __('New password', true),
            'type' => 'password',
            'size' => 40
        ));
        ?>

        <?php
        echo $form->input('confirm_password', array(
            'label' => __('Confirm password', true),
            'type' => 'password',
            'size' => 40
        ));
        ?>

    <?php
    echo $form->end(__('Add', true));
    ?>

</div>